//
//  payTypeSeleteTableViewCell.m
//  JxCarios
//
//  Created by xcq on 15/2/5.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "payTypeSeleteTableViewCell.h"

@implementation payTypeSeleteTableViewCell

- (void)awakeFromNib {
    _notSelete = NO;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)seletePayType:(id)sender {
    if (_notSelete) {
        return;
    }
    UIButton *btn = (UIButton *)sender;
    btn.selected = YES;
    if ([_pushDelegate respondsToSelector:@selector(pushSelfToView:andType:andSelete:)]) {
        [_pushDelegate pushSelfToView:self andType:_bol andSelete:btn.selected];
    }
    if (self.bol) {
        if ([_delegate respondsToSelector:@selector(checkCallBack:andSeleted:)]) {
//            [_delegate checkCallBack:self andSeleted:btn.selected andDetail:@""];
        }
    }
  
    
}




@end
